<ion-view view-title="登录">
    <ion-content>
        <div class="list">
            <label class="item item-input">
                <span class="input-label">用户名</span>
                <input type="text" ng-model="user.username">
            </label>
            <label class="item item-input">
                <span class="input-label">密&nbsp;&nbsp;&nbsp;&nbsp;码</span>
                <input type="password" ng-model="user.password">
            </label>
        </div>
        <div class="padding">
            <button class="button button-block button-positive" ng-click="signIn(user)">
                登录
            </button>
            <p class="text-center">
                <a href="">忘记密码？</a>
            </p>
        </div>
    </ion-content>
</ion-view>